package com.effectiv.gooruda.rest.ext;

import com.effectiv.gooruda.domain.Application;

public class SecurityContextHolder {

	private static ThreadLocal<Application> appLocal = new ThreadLocal<Application>();
	
	public static Application get(){
		return appLocal.get();
	}
	
	public static void set(Application app){
		appLocal.set(app);
	}
	
	public static void remove(){
		appLocal.remove();
	}
}
